package heathot.bookservice;

import heathot.entiy.Book;
import heathot.entiy.BookPager;
import heathot.entiy.Car;

import java.util.List;

public interface BookService {
	public int addBook(Book book);
	public int deleteBook(int id);
	public int upadateBook(Book book);
	public Book selectBook(int id);
	public List<Book> selectBooks();
	public BookPager selectBookByPage(int page,int pagesize);
	public void addToCar(int i, Car car);
	public String updateCarItem(int id,int count,Car car);
	public void deleteCar(int i,Car car);
}
